package com.gw.smscheck.dao.sys;

import com.gw.smscheck.entity.sys.LoginUser;

import java.util.List;

/**
 * @Author: JunYaoWang
 * @Data: Created in 16:10 2018/11/14
 */
public interface LoginUserMapper {

    /**
     * 分页查询
     * @param dto
     * @return
     */
    public List<LoginUser> pageSelect(LoginUser dto);

    /**
     * 添加
     * @param user
     * @return
     */
    public Integer add(LoginUser user);

    /**
     * 修改
     * @param user
     * @return
     */
    public Integer update(LoginUser user);

    /**
     * 根据id查询
     * @param user
     * @return
     */
    public LoginUser findById(LoginUser user);

    /**
     * 根据id删除
     * @param user
     * @return
     */
    public Integer delete(LoginUser user);
}
